import os


class Camera:
    ability_name = 'com.ohos.camera.MainAbility'
    bundle_name = 'com.ohos.camera'
    window_name = 'camera'
    # 拍照模式
    photography_mode = (360, 985)
    # 录像模式
    video_mode = (444, 985)
    # 拍照按钮
    shot_button = (360, 1100)
    end_recoding = (320, 1100)
    # 左下角缩率图
    thumbnail = (198, 1101)

    thumbnail_area = (165, 1068, 231, 1134)

    # 播放按钮
    play_video = (360, 640)

    BASE_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'snapshot', 'camera')

    standard_thumbnail_pic = os.path.join(BASE_DIR, 'thumbnail.jpeg')
